package com.bblocks.auth.config;
//import com.pig4cloud.pig.common.swagger.config.SwaggerDisplayConfig;
import com.bblocks.common.ParentWebMvcConfigurer;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;

/**
 * 统一web配置(只记录日志)
 * @author Jin
 * @version 1.0
 * @date 2022/6/6 10:56
 */
@Configuration
public class WebMvcConfigurer extends ParentWebMvcConfigurer {

	@Override
	public void addInterceptors(InterceptorRegistry registry) {
		//0、初始日志相关的初始（原则是第一个）
		registry.addInterceptor(this.logInterceptor);

	}
}
